home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Super PC 34
/
Super PC 34 (Shareware).iso
/
spc
/
UTIL
/
DJGPP2
/
V2
/
DJLSR200.ZIP
/
src
/
libc
/
ansi
/
stdlib
/
rand.txh
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-07-10
|
344 b
|
25 lines
@node rand, random number
@subheading Syntax
@example
#include <stdlib.h>
int rand(void);
@end example
@subheading Description
Returns a pseudo-random number from zero to @code{RAND_MAX}.
@subheading Return Value
The number.
@subheading Example
@example
/* random pause */
for (i=rand(); i; i--);
@end example